package com.yiban.demo.Station.DAO;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yiban.demo.Station.Entity.Station;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface StationMapper extends BaseMapper<Station> {
    @Update("UPDATE station SET pass = #{isPass} WHERE station_id = #{stationId}")
    Integer updateIsPass(boolean isPass,Integer stationId);
}
